package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Dept;

import java.util.List;

/**
 *
 * @author lyl
 * @created 2025/9/29 18:58
 * @description
 *
 */
public interface DeptService {
    void addDept(Dept dept);

    PageResult<Dept> page(String name, Integer status, Integer page, Integer pageSize);

    Dept getDeptById(Integer id);

    void updateDept(Dept dept);

    void deleteDept(Integer id);

    List<Dept> getAll();
}
